﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include <cstdint>
#include "NdbDataSchema.h"

namespace gcmp 
{ 
    /// \brief  基本单位类型
    ///
    /// 只允许在最后添加新类型（Count之前）
    SERIALIZABLE_ENUM_CLASS(BaseUnit)
    {
        Length = 0,             ///< 长度

        Angle = 1,              ///< 角度

        Mass = 2,               ///< 质量

        Time = 3,               ///< 时间

        ElectricCurrent = 4,    ///< 电流

        Temperature = 5,        ///< 热力学温度

        LuminousIntensity = 6,  ///< 发光强度
    };
}
